
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>tcp-ip · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="ubuntu.html" />
    
    
    <link rel="prev" href="skill.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    starting
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../INTRODUCTION.html">
            
                <a href="../INTRODUCTION.html">
            
                    
                    introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" >
            
                <span>
            
                    
                    algorithm
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../algorithm/graphic_processing/">
            
                <a href="../algorithm/graphic_processing/">
            
                    
                    graphic_processing
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../algorithm/machine_learning/">
            
                <a href="../algorithm/machine_learning/">
            
                    
                    machine_learning
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../algorithm/other/">
            
                <a href="../algorithm/other/">
            
                    
                    other
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" >
            
                <span>
            
                    
                    language
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../language/cpp/">
            
                <a href="../language/cpp/">
            
                    
                    cpp
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../language/golang/">
            
                <a href="../language/golang/">
            
                    
                    golang
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../language/java/">
            
                <a href="../language/java/">
            
                    
                    java
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="../language/javascript/">
            
                <a href="../language/javascript/">
            
                    
                    javascript
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="../language/python/">
            
                <a href="../language/python/">
            
                    
                    python
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" >
            
                <span>
            
                    
                    soft_skills
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="docker.html">
            
                <a href="docker.html">
            
                    
                    docker
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="git.html">
            
                <a href="git.html">
            
                    
                    git
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="ideaj.html">
            
                <a href="ideaj.html">
            
                    
                    ideaj
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4" data-path="linux.html">
            
                <a href="linux.html">
            
                    
                    linux
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5" data-path="maven.html">
            
                <a href="maven.html">
            
                    
                    maven
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.6" data-path="mysql.html">
            
                <a href="mysql.html">
            
                    
                    mysql
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.7" data-path="nginx.html">
            
                <a href="nginx.html">
            
                    
                    nginx
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.8" data-path="node.js.html">
            
                <a href="node.js.html">
            
                    
                    node.js
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.9" data-path="oracle.html">
            
                <a href="oracle.html">
            
                    
                    oracle
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.10" data-path="redis.html">
            
                <a href="redis.html">
            
                    
                    redis
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.11" data-path="script.html">
            
                <a href="script.html">
            
                    
                    script
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.12" data-path="skill.html">
            
                <a href="skill.html">
            
                    
                    skill
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.5.13" data-path="tcp-ip.html">
            
                <a href="tcp-ip.html">
            
                    
                    tcp-ip
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.14" data-path="ubuntu.html">
            
                <a href="ubuntu.html">
            
                    
                    ubuntu
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.15" data-path="vscode.html">
            
                <a href="vscode.html">
            
                    
                    vscode
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.16" data-path="windows.html">
            
                <a href="windows.html">
            
                    
                    windows
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >tcp-ip</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
                                <section class="normal markdown-section">
                                
                                <h2 id="&#x6982;&#x8FF0;">&#x6982;&#x8FF0;</h2>
<h3 id="tcpip-&#x5206;&#x5C42;">TCP/IP &#x5206;&#x5C42;</h3>
<ul>
<li>&#x5E94;&#x7528;&#x5C42;&#xFF08;Telnet&#xFF0C;FTP&#xFF09;</li>
<li>&#x4F20;&#x8F93;&#x5C42;&#xFF08;TCP&#xFF0C;UDP&#xFF09;</li>
<li>&#x7F51;&#x7EDC;&#x5C42;&#xFF08;IP&#xFF0C;ICMP&#xFF0C;IGMP&#xFF09;</li>
<li>&#x94FE;&#x8DEF;&#x5C42;&#xFF08;ARP&#xFF0C;RARP&#xFF0C;&#x7F51;&#x5361;&#x548C;&#x9A71;&#x52A8;&#xFF09;</li>
</ul>
<h3 id="&#x786C;&#x4EF6;">&#x786C;&#x4EF6;</h3>
<ul>
<li>&#x4E3B;&#x673A;&#xFF08;&#x53EA;&#x6709;&#x4E3B;&#x673A;&#xFF0C;&#x624D;&#x6709;&#x5E94;&#x7528;&#x5C42;&#x548C;&#x4F20;&#x8F93;&#x5C42;&#xFF09;</li>
<li>&#x4EA4;&#x6362;&#x673A;&#xFF08;&#x5DE5;&#x4F5C;&#x5728;&#x94FE;&#x8DEF;&#x5C42;&#xFF0C;&#x8FDE;&#x63A5;&#x591A;&#x4E2A;&#x4E3B;&#x673A;&#x7EC4;&#x6210;&#x4E00;&#x4E2A;&#x5C40;&#x57DF;&#x7F51;&#xFF09;</li>
<li>&#x7F51;&#x6865;&#xFF08;&#x5DE5;&#x4F5C;&#x5728;&#x94FE;&#x8DEF;&#x5C42;&#xFF0C;&#x6548;&#x679C;&#x540C;&#x8DEF;&#x7531;&#x5668;&#xFF0C;&#x4F46;&#x5DE5;&#x4F5C;&#x5728;&#x94FE;&#x8DEF;&#x5C42;&#xFF01;&#x4E0D;&#x80FD;&#x8FDB;&#x884C; IP &#x7BA1;&#x7406;&#xFF01;&#xFF09;</li>
<li>&#x8DEF;&#x7531;&#x5668;&#xFF08;&#x5DE5;&#x4F5C;&#x5728;&#x7F51;&#x7EDC;&#x5C42;&#xFF0C;&#x8FDE;&#x63A5;&#x591A;&#x4E2A;&#x4E0D;&#x540C;&#x7684;&#x7F51;&#x7EDC;&#x7EC4;&#x6210;&#x4E00;&#x4E2A;&#x4E92;&#x8054;&#x7F51;&#xFF09;</li>
</ul>
<h3 id="&#x5206;&#x5C42;&#x534F;&#x4F5C;">&#x5206;&#x5C42;&#x534F;&#x4F5C;</h3>
<ul>
<li>&#x5E94;&#x7528;&#x5C42;&#x53EA;&#x5173;&#x5FC3;&#x5E94;&#x7528;&#x7A0B;&#x5E8F;&#x7684;&#x7EC6;&#x8282;&#xFF0C;&#x901A;&#x8BAF;&#x7EC6;&#x8282;&#x7531;&#x4E0B;&#x4E09;&#x5C42;&#x4FDD;&#x8BC1;&#xFF08;&#x4E0B;&#x4E09;&#x5C42;&#x5728;&#x5185;&#x6838;&#x4E2D;&#x6267;&#x884C;&#xFF09;</li>
<li>&#x5E95;&#x5C42;&#x534F;&#x8BAE;&#x5982;&#x679C;&#x4E0D;&#x4FDD;&#x8BC1;&#x53EF;&#x9760;&#x6027;&#x7684;&#x8BDD;&#xFF0C;&#x53EF;&#x4EE5;&#x7531;&#x4E0A;&#x5C42;&#x534F;&#x8BAE;&#x6765;&#x4FDD;&#x8BC1;&#x53EF;&#x9760;&#x6027;<ul>
<li>IP &#x662F;&#x4E0D;&#x53EF;&#x9760;&#x7684;&#xFF0C;&#x4F46;&#x53EF;&#x4EE5;&#x7531; TCP &#x6765;&#x4FDD;&#x8BC1;&#x53EF;&#x9760;&#x6027;</li>
<li>UDP &#x662F;&#x4E0D;&#x53EF;&#x9760;&#x7684;&#xFF0C;&#x4F46;&#x53EF;&#x4EE5;&#x7531;&#x5E94;&#x7528;&#x5C42;&#x6765;&#x4FDD;&#x8BC1;&#x53EF;&#x9760;&#x6027;</li>
</ul>
</li>
<li>&#x94FE;&#x8DEF;&#x5C42;&#x901A;&#x8FC7; MAC &#x5730;&#x5740;&#x4F20;&#x9001;&#x6570;&#x636E;&#xFF0C;&#x7F51;&#x7EDC;&#x5C42;&#x901A;&#x8FC7; IP &#x5730;&#x5740;&#xFF0C;&#x4F20;&#x8F93;&#x5C42;&#x901A;&#x8FC7;&#x7AEF;&#x53E3;&#x53F7;&#xFF08;&#x53D1;&#x9001;&#x7AEF;&#x548C;&#x63A5;&#x6536;&#x7AEF;&#x7AEF;&#x53E3;&#x53F7;&#x53EF;&#x4EE5;&#x4E0D;&#x4E00;&#x6837;&#xFF09;</li>
</ul>
<h3 id="ipv4-&#x5730;&#x5740;">IPv4 &#x5730;&#x5740;</h3>
<table>
<thead>
<tr>
<th>&#x7C7B;&#x578B;</th>
<th>&#x8303;&#x56F4;</th>
<th>DIFF</th>
</tr>
</thead>
<tbody>
<tr>
<td>A</td>
<td>0.0.0.0 ~ 127.255.255.255</td>
<td>$127=2^7-1$</td>
</tr>
<tr>
<td>B</td>
<td>128.0.0.0 ~ 191.255.255.255</td>
<td>$63=2^6-1$</td>
</tr>
<tr>
<td>C</td>
<td>192.0.0.0 ~ 223.255.255.255</td>
<td>$31=2^5-1$</td>
</tr>
<tr>
<td>D</td>
<td>224.0.0.0 ~ 239.255.255.255</td>
<td>$15=2^4-1$</td>
</tr>
<tr>
<td>E</td>
<td>240.0.0.0 ~ 247.255.255.255</td>
<td>$8=2^3-1$</td>
</tr>
</tbody>
</table>

                                
                                </section>
                            
                        </div>
                    </div>
                
            </div>

            
                
                <a href="skill.html" class="navigation navigation-prev " aria-label="Previous page: skill">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="ubuntu.html" class="navigation navigation-next " aria-label="Next page: ubuntu">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"tcp-ip","level":"1.5.13","depth":2,"next":{"title":"ubuntu","level":"1.5.14","depth":2,"path":"soft_skills/ubuntu.md","ref":"soft_skills/ubuntu.md","articles":[]},"previous":{"title":"skill","level":"1.5.12","depth":2,"path":"soft_skills/skill.md","ref":"soft_skills/skill.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["-search","-sharing","-lunr"],"pluginsConfig":{"highlight":{},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"soft_skills/tcp-ip.md","mtime":"2020-02-26T15:38:50.749Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-03-17T16:45:36.070Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

